/**
 * @apiDefine pdfErrorException
 * @apiErrorExample {json} Error-Response:
 *     HTTP/1.1 500 Not Found
 *     {
 *           "code": 500,
 *           "msg": "错误消息"
 *     }
 */

/**
 * @api {post} /pdf2png pdf文件转png图片
 * @apiName Pdf2Png
 * @apiGroup PDF
 * @apiBody {String} PDFPath  PDF路径 绝对路径
 * @apiParamExample {json} Request-Example:
 *     {
 *        "PDFPath":"D:\\test\\pdf\\燃气费用.pdf"
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(从1...n.png).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "bd5b48a2-96a9-48ed-8cb2-85eb61bafa7d",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\25\\bd5b48a2-96a9-48ed-8cb2-85eb61bafa7d"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */

/**
 * @api {post} /pdf2jpeg pdf文件转jpeg图片
 * @apiName Pdf2Jpeg
 * @apiGroup PDF
 * @apiBody {String} PDFPath  PDF路径 绝对路径
 * @apiParamExample {json} Request-Example:
 *     {
 *        "PDFPath":"D:\\test\\pdf\\燃气费用.pdf"
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录（从1...n.jpeg）.
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "1d028b3c-9779-4cae-9671-a81ca6037bf6",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\25\\1d028b3c-9779-4cae-9671-a81ca6037bf6"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */

/**
 * @api {post} /pdf2pngoptpage pdf文件转png图片可指定开始结束页
 * @apiName df2pPngoptpage
 * @apiGroup PDF
 * @apiBody {String} PDFPath  PDF路径 绝对路径
 * @apiBody {Number} FirstPage  开始页
 * @apiBody {Number} LastPage  结束页
 * @apiParamExample {json} Request-Example:
 *     {
 *        "PDFPath":"D:\\test\\pdf\\燃气费用.pdf"
 *        "FirstPage":1,
 *        "LastPage":2
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(从firstpage ... lastpage.png).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "396229dd-59e1-4bbc-bb85-440fe2578ea4",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\26\\396229dd-59e1-4bbc-bb85-440fe2578ea4"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */

/**
 * @api {post} /pdfcompress pdf压缩大小
 * @apiName pdfcompress
 * @apiGroup PDF
 * @apiBody {String} PDFPath  PDF路径 绝对路径
 * @apiBody {Number} FirstPage  开始页
 * @apiBody {Number} LastPage  结束页
 * @apiParamExample {json} Request-Example:
 *     {
 *        "PDFPath":"D:\\test\\pdf\\20211220.pdf"
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(compress.pdf).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "1ac3b720-fc7b-4101-ae71-03ef589d8a01",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\26\\1ac3b720-fc7b-4101-ae71-03ef589d8a01"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */

/**
 * @api {post} /pdfsplit pdf拆分输入SplitFirstPage-SplitLastPage 为一个新的pdf
 * @apiName pdfsplit
 * @apiGroup PDF
 * @apiBody {String} PDFPath  PDF路径 绝对路径
 * @apiBody {Number} SplitFirstPage  开始页
 * @apiBody {Number} SplitLastPage  结束页
 * @apiParamExample {json} Request-Example:
 *     {
 *        "PDFPath":"D:\\test\\pdf\\20211220.pdf"
 *        "SplitFirstPage":2,
 *        "SplitLastPage":8
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(split.pdf).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "55ee4d9d-4f21-45e1-9091-0649dc4ce077",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\26\\55ee4d9d-4f21-45e1-9091-0649dc4ce077"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */

/**
 * @api {post} /pdfcombine 一个或者多个pdf合并
 * @apiName pdfcombine
 * @apiGroup PDF
 * @apiBody {string[]} PDFPaths  PDF路径 绝对路径 数组
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(split.pdf).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "4487f95d-b588-4a24-8dfd-2f7e0a891a25",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\26\\4487f95d-b588-4a24-8dfd-2f7e0a891a25"
 *	},
 *	"message": null
 *  }
 * @apiUse pdfErrorException
 */